package com.wanxi.method;

public class SumSales {
    public static void main(String[] args) {
        int a = 10;
        int b = 220;
        int sum = sumSales(a, b);
        judge(sum);
    }

    private static void judge(int sum) {
        if (sum > 100) {
            System.out.println("业绩达标");
        } else {
            System.out.println("业绩很差");
        }
    }

    private static int sumSales(int a, int b) {
        return a + b;
    }
}
